package cn.humaohua.study.yanmo_design_pattern.ch12.v2;

import java.util.Observable;

public class NewsPaper extends Observable {

    private String content;

    public void setContent(String content) {
        this.content = content;
        super.setChanged();
        super.notifyObservers();
    }

    public String getContent() {
        return content;
    }

}
